/*
 * @Author: pjji
 * @describe: 
 * @LastEditTime: 2020-12-03 15:44:25
 */
import Vue from 'vue'
// vant 组件注册
import "./plugins"

// loading
import Loading from '@/assets/js/loading';
//cookie
// 全局配置cookie，组件调用方式：this.$cookies
import cookies from 'vue-cookies'
Vue.prototype.$cookies = cookies; 
//配置cookies生命周期，单位不区分大小写

// 事件总线
Vue.prototype.$bus = new Vue()

import 'default-passive-events'

import API from './api'

Vue.use(Loading);
Vue.use(API);

window.Vm = Vue

Vue.config.productionTip = false //阻止启动生产消息，常用作指令